package com.mcxx.modules.temporary.salary.dto;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;


@Data
public class TmpMemberSalaryDTO implements Serializable{
    private static final long serialVersionUID = -1;
    private String id;

    private String orderId;

    private String familyId;

    private String memberId;

    private String areaCode;

    private String countyCode;

    private String startDate;

    private String inputDate;

    private String itemType;

    private Double salaryNumber;

    private String goodsType;

    private Integer pcs;

    private String unit;

    private String projectCode;

    private Date updateTime;

    private String remark;

    @Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        TmpMemberSalaryDTO that = (TmpMemberSalaryDTO) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }

    @Override
    public String toString() {
        return "${context.javaBeanNameDTO}{" +
                "id=" + id +
                ",orderId='" + orderId + "'" +
                ",familyId='" + familyId + "'" +
                ",memberId='" + memberId + "'" +
                ",areaCode='" + areaCode + "'" +
                ",countyCode='" + countyCode + "'" +
                ",startDate='" + startDate + "'" +
                ",inputDate='" + inputDate + "'" +
                ",itemType='" + itemType + "'" +
                ",salaryNumber='" + salaryNumber + "'" +
                ",goodsType='" + goodsType + "'" +
                ",pcs='" + pcs + "'" +
                ",unit='" + unit + "'" +
                ",projectCode='" + projectCode + "'" +
                ",updateTime='" + updateTime + "'" +
                ",remark='" + remark + "'" +
                '}';
    }

}
